package com.dailyblue.java.spring.security.security02.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/demo")
public class DemoController {
    @GetMapping("/a")
    public String a() {
        System.out.println("a");
        return "a";
    }

    @GetMapping("/b")
    public String b() {
        System.out.println("b");
        return "b";
    }
    @GetMapping("/login")
    public String login(){
        return "aaabb";
    }
}
